package com.northpool.operator.bean;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

@XmlRootElement(name = "operator")
@XmlAccessorType(XmlAccessType.FIELD)
public class OperatorBean implements Serializable {
    @XmlElement(name = "className")
    String className;
    @XmlElementWrapper(name = "startParam")
    @XmlElement(name = "param")
    List<ParamBean> startParam;
    @XmlElement(name = "parallelism")
    Integer parallelism;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<ParamBean> getStartParam() {
        return startParam;
    }

    public void setStartParam(List<ParamBean> startParam) {
        this.startParam = startParam;
    }

    public Integer getParallelism() {
        return parallelism;
    }

    public void setParallelism(Integer parallelism) {
        this.parallelism = parallelism;
    }
}
